package com.atguigu.search.service;


import com.atguigu.common.to.es.SkuHasStock;
import com.atguigu.common.to.es.SpuUpTo;
import com.atguigu.search.vo.SearchParam;
import com.atguigu.search.vo.SearchResult;

import java.io.IOException;
import java.util.List;

/**
 * 
 *
 * @author qhw
 * @email qhw@gmail.com
 * @date 2021-08-03 19:16:41
 */
public interface SearchSaveService  {

    void searchSave(List<SpuUpTo> spuUpTos) throws IOException;

    SearchResult search(SearchParam searchParam);
}

